package com.starlink.model.request.save;

import com.starlink.model.request.MallPeripherySpecificationRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: zhouyuhang01
 * @Date: 2024/4/10 16:34
 * @Description: MallPeripherySaveRequest
 * @Version 1.0.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城文创周边商品保存请求模型")
public class MallPeripherySaveRequest implements Serializable {
    @ApiModelProperty("周边商品ID")
    private Long id;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("运费模板ID")
    private Long freeTemplateId;
    @ApiModelProperty("商品名称")
    private String name;
    @ApiModelProperty("封面")
    private String picture;
    @ApiModelProperty("是否上架 0否 1是")
    private Integer onTheShelf;
    @ApiModelProperty("排序")
    private Long sortOrder;
    @ApiModelProperty("商品详情")
    private String peripheryInfo;

    @ApiModelProperty("规格")
    private List<MallPeripherySpecificationRequest> specification;

    @ApiModelProperty(value ="页码")
    private Integer pageNum;
    @ApiModelProperty(value ="分页大小")
    private Integer pageSize;
}
